targets = promise thread mutex future_error launch
all: $(targets)

clean:
	@\rm $(targets)


$(targets):
	g++ -g $@.cpp -o $@ -std=c++11 -lpthread
#promise:
#	g++ -g promise.cpp -o $@ -std=c++11 -lpthread
#
#thread:
#	g++ -g thread.cpp -o $@ -std=c++11 -lpthread
#
#mutex:
#	g++ -g mutex.cpp -o $@ -std=c++11 -lpthread
#
#future_error:
#	g++ -g future_error.cpp -o $@ -std=c++11 -lpthread
#




